<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'
// import { useUserStore } from '@/store'
onLaunch(() => {
  // const { userInfo } = useUserStore()
  // if (!userInfo.refreshToken) {
  //   uni.redirectTo({ url: '/pages/login/index' })
  // }
})
onShow(() => {
  console.log('App Show')
})
onHide(() => {
  console.log('App Hide')
})
</script>
<style></style>
